package photohub.action;

import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@WebServlet("/Home")
public class Home extends BaseAction {

    @Override
    protected String execute(HttpServletRequest req, HttpServletResponse resp) {
        String name = getString(req, "name");
        req.setAttribute("NAME", name.toUpperCase());
        return "home";
    }
}
